/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      PayReceiptDao.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-9-26 下午02:17:22
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.core.dao.assist;

import org.springframework.data.jpa.repository.Query;

import com.isoftstone.industry.persistance.bean.PayReceipt;
import com.isoftstone.modules.core.persistence.IGenericDao;

/**
 *
 * @author jacky
 */
public interface PayReceiptDao extends IGenericDao<PayReceipt, String>
{
	@Query("from PayReceipt x where x.order.id=?1")
	PayReceipt findByOrder(String orderId);
}
